#ifndef _CCube_H
#define _CCube_H

#include "Matrix4.h"

class CCube {

public:
	CCube();
	~CCube();
	void Set(float xPosition, float yPosition, float zPosition, float lengthofside, int objectID);
	void SetTexture(int pos, int texture, int tNum);
	void Rotate(float x, float y, float z);
	void Scale(float size);
	void Draw();
	void Reset();

	matrix4 Rot;

private:
	float xPos, yPos, zPos;
	float length, hlength;	
	float tx[24], ty[24];
	float m_scale;
	int tTop, tBottom, tFront, tBack, tLeft, tRight, m_objectID;

	void SetTextureNum(int pos, int tNum);
};

#endif
